import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '模型标题',
    align: "center",
    dataIndex: 'title'
  },
  {
    title: '模型描述',
    align: "center",
    dataIndex: 'content'
  },
  {
    title: '模型图片',
    align: "center",
    dataIndex: 'img',
    customRender: render.renderImage,
  },
  {
    title: '模型附件',
    align: "center",
    dataIndex: 'file',
  },
];

// 高级查询数据
export const superQuerySchema = {
  title: {title: '标题',order: 0,view: 'text', type: 'string',},
  content: {title: '描述',order: 1,view: 'textarea', type: 'string',},
  img: {title: '图片',order: 2,view: 'image', type: 'string',},
  file: {title: '文件',order: 3,view: 'file', type: 'string',},
};
